package com.yonyou.pmclouds.billtype.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.ArrayList;
import java.util.Date;
@Entity
@Table(name = "pmbd_billtype")
@Data
public class BillTypeVO extends SuperVO{

    // 整理资料使用
    public static final String DATA_USAGE_PRINT = "datumManage";

    // 云审批使用
    public static final String DATA_USAGE_APPROVAL = "approvalCloud";

    @Id
    private String pkBilltype;

    private String sname;

    private String scode;

    private Integer sequence;

    private String tableName;

    private String pkParent;

    private String pkTenant;

    private String creator;

    private Date creationtime;

    private String modifier;

    private Date modifytime;

    private String dataUsage;
    /**
     * 子列表
     */
    @Transient
    private ArrayList<BillTypeVO> subList;
}